{% extends "base.html" %}
{% load url from future %}

{% block title %}
    Логин
{% endblock %}

{% block content %}
<form method="post" action="{% url 'django.contrib.auth.views.login' %}">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="login" />
</form>
{% endblock %}
